<template>
  <div>
      <v-textarea outlined label="请输入内容" v-model="content"></v-textarea>
      <v-btn @click="saveComment" color="bg-color" rounded dark>发表评论</v-btn>
  </div>
</template>

<script>
export default {
    data(){
        return {
            content:''
        }
    },
    methods:{
        saveComment(){
        this.$emit('onClick',this.content)
            this.content=''
        }

    }

}
</script>

<style>

</style>